package com.ling.bean;

import java.io.Serializable;
import java.util.Date;

public class Blog implements Serializable {
    private String id;

    private String userid;

    private String blogtitle;

    private String blogtypeid;

    private String areaid;

    private Date edittime;

    private Integer upvotenum;

    private Integer downvotenum;

    private Integer top;

    private Integer readcount;

    private Integer blogstatus;//1：已发布，2：回收站

    private String blogcontent;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getUserid() {
        return userid;
    }

    public void setUserid(String userid) {
        this.userid = userid == null ? null : userid.trim();
    }

    public String getBlogtitle() {
        return blogtitle;
    }

    public void setBlogtitle(String blogtitle) {
        this.blogtitle = blogtitle == null ? null : blogtitle.trim();
    }

    public String getBlogtypeid() {
        return blogtypeid;
    }

    public void setBlogtypeid(String blogtypeid) {
        this.blogtypeid = blogtypeid == null ? null : blogtypeid.trim();
    }

    public String getAreaid() {
        return areaid;
    }

    public void setAreaid(String areaid) {
        this.areaid = areaid == null ? null : areaid.trim();
    }

    public Date getEdittime() {
        return edittime;
    }

    public void setEdittime(Date edittime) {
        this.edittime = edittime;
    }

    public Integer getUpvotenum() {
        return upvotenum;
    }

    public void setUpvotenum(Integer upvotenum) {
        this.upvotenum = upvotenum;
    }

    public Integer getDownvotenum() {
        return downvotenum;
    }

    public void setDownvotenum(Integer downvotenum) {
        this.downvotenum = downvotenum;
    }

    public Integer getTop() {
        return top;
    }

    public void setTop(Integer top) {
        this.top = top;
    }

    public Integer getReadcount() {
        return readcount;
    }

    public void setReadcount(Integer readcount) {
        this.readcount = readcount;
    }

    public Integer getBlogstatus() {
        return blogstatus;
    }

    public void setBlogstatus(Integer blogstatus) {
        this.blogstatus = blogstatus;
    }

    public String getBlogcontent() {
        return blogcontent;
    }

    public void setBlogcontent(String blogcontent) {
        this.blogcontent = blogcontent == null ? null : blogcontent.trim();
    }
}